package com.softtown.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.softtown.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @version v1.0
 * @ProjectName: softtown-aioffice
 * @ClassName: SysFeedBackReplyEntity
 * @Description: 用户反馈实体类
 * @Author: fuming
 * @Date: 2019/7/1 15:37
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("sys_feedback_reply")
public class SysFeedBackReplyEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 反馈id
     * isNullAble:0
     */
    private Long fbId;

    /**
     * 回复时间
     * isNullAble:1
     */
    private Date replyDate;

    /**
     * 回复用户
     * isNullAble:1
     */
    private Long replyUserId;

    /**
     * 用户区分
     * isNullAble:1
     */
    private Integer userType;

    /**
     * 回复内容
     * isNullAble:1
     */
    private String content;

    /**
     * 回复有无附件 0：无 1：有
     * isNullAble:1
     */
    private Integer replyHasAttDoc;

    /**
     * 已读 0:未读 1：已读
     * isNullAble:1
     */
    private Integer replyIsRead;

    /**
     * 更新者
     * isNullAble:1
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updater;

    /**
     * 更新时间
     * isNullAble:1
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateDate;

    /**
     * 更新时间戳
     * isNullAble:1
     */
    private String updateTimestamp;

    /**
     * 逻辑删除
     * isNullAble:1
     */
    private Integer isDeleted;

    /**
     * 显示名
     */
    @TableField(exist=false)
    private String nameShow;

    /**
     * 显示头像
     */
    @TableField(exist=false)
    private String headShow;
}
